#ifndef OUTLINE_SAMPLE_H
#define OUTLINE_SAMPLE_H
#include "SampleBase.h"
#include "glslprogram.h"
#include "objmesh.h"
#include "grid.h"
namespace ShaderLab {
	class OutlineSample : public SampleBase {
	public:
		OutlineSample();
		~OutlineSample();

		void Init();
		void Update(float time);
		void Render();
		void Imgui();
		void ShutDown();
	private:
		void CreateShader();
	private:
		GLSLProgram prog;
		std::unique_ptr<ObjMesh> mesh;
		glm::mat4 model, view, projection;
		float angle;
		float edgeWidth, pct;
	};
}
#endif // !TEMPLATE_SAMPLE_H
